package com.buka.test;

import org.springframework.security.crypto.bcrypt.BCrypt;

public class Bcrypt {
    public static void main(String[] args) {
        for (int i = 0; i < 10; i++) {
            String gensalt = BCrypt.gensalt();
            System.out.println(gensalt);
            String pass = BCrypt.hashpw("123456", BCrypt.gensalt());
            System.out.println(pass);
        }
    }
}
